﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Clock
{
    class Program
    {
        static void Main(string[] args)
        {
            Clock clock = new Clock();
            clock.Alarm += (_, b) => Console.WriteLine("Alarming...");
            clock.Tick += (_, b) => Console.WriteLine("Ticking...");
            for (int i = 0; i++ < 3;)
            {
                clock.Start();
                Console.ReadKey();
                clock.Stop();
                Console.ReadKey();
            }
        }
    }
}
